import service from "../index";
export const getSAC = () => {
  return service({
    method: "POST",
    url: "/apt/sac/findById",
  });
};

export const impLineList = (data) => {
  return service({
    method: "POST",
    url: "/apt/ptk/upload",
    data,
    headers: {
      "Content-Type": "multipart/form-data",
    },
  });
};

export const getTable = (data) => {
  return service({
    method: "POST",
    url: "/apt/ptk/get",
    data,
  });
};

export const setKit = (data) => {
  return service({
    method: "POST",
    url: "/apt/ptk/setKit",
    data,
  });
};
export const unpack = (data) => {
  return service({
    method: "POST",
    url: "/apt/ptk/unpack",
    data,
  });
};
export const getFilterOptions = (data) => {
  return service({
    method: "POST",
    url: "/apt/ptk/getFilterOptions",
    data,
  });
};
export const deleteList = (data) => {
  return service({
    method: "POST",
    url: "/apt/ptk/delete",
    data,
  });
};

export const exportLineList = (data) => {
  return service({
    method: "POST",
    url: "/apt/ptk/exportLineList",
    data,
  });
};
export const impKitList = (data) => {
  return service({
    method: "POST",
    url: "/apt/ptk/uploadKit",
    data,
    headers: {
      "Content-Type": "multipart/form-data",
    },
  });
};
